package com.smart_campus.teg.mapper;

import com.smart_campus.sys.domain.User;
import com.smart_campus.teg.domain.TegDuty;
import com.smart_campus.teg.vo.DutyVo;

import java.util.List;

/**
 * @author Alfred
 * @time: 2020/6/30 20:09
 * 
 */
public interface TegDutyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TegDuty record);

    int insertSelective(TegDuty record);

    TegDuty selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TegDuty record);

    int updateByPrimaryKey(TegDuty record);

    List<DutyVo> selAllDuty(DutyVo dutyVo);

    List<User> getAllStaff();

}